package com.situ.mall.admin;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * ClassName: AdminApplication
 * Package: com.situ.mall.admin
 * Description:
 *
 * @Author Darling_达
 * @Create 2023-03-17 11:21
 * @Version 1.0
 */

@SpringBootApplication(scanBasePackages = "com.situ.mall")
@MapperScan(basePackages = {"com.situ.mall.base.mapper", "com.situ.mall.admin.mapper"})
@EnableScheduling    //开启定时任务
public class AdminApplication {

    public static void main(String[] args) {
        SpringApplication.run(AdminApplication.class, args);
    }

}
